package com.hustcs.mindmap.drawmap.command;

public class CommandRequest {
	Command command;
	
	public CommandRequest(Command command){
		this.command = command;
	}
	
	public void executeCommand() {
		command.execute();
	}
	public void undoCommand() {
		command.undo();
	}
}
